package org.example.blogpojo.blog.domain;

import java.io.Serializable;
import lombok.Data;
import io.swagger.v3.oas.annotations.media.Schema;

/**
 * Tb User表
 * @TableName tb_user
 */
@Data
public class User implements Serializable {

    private static final long serialVersionUID = 1L;

    @Schema (description = "主键ID")
    private Long id;

    @Schema (description = "用户账号")
    private String userName;

    @Schema (description = "真实姓名")
    private String realName;

    @Schema (description = "手机号码")
    private String phone;

    @Schema (description = "用户邮箱")
    private String email;

    @Schema (description = "盐值")
    private String salt;

    @Schema (description = "密码")
    private String password;

    @Schema (description = "头像地址")
    private String avatar;

    @Schema (description = "备注")
    private String remark;

    @Schema (description = "登录信息Id")
    private Long logininfoId;

}